<div class="eight">
	<h2>最新资讯</h2>
	<hr/>

	<div class="articles" id="articles">
		<?php foreach ($data->getData() as $item){ ?>
		<div class="article">
			<div class="title">
				<a href="<?php echo $this->createUrl("article/view",array('id'=>$item->id))  ?>" target="_blank"><strong><?php echo $item->title ?></strong></a>
			</div><!-- / -->
			<div class="body">
	            	<p>发表于:<?php echo H::time_tran($item->createtime) ?><small>阅览(<?php echo $item->views ?>)&nbsp;&nbsp;评论(<?php echo $item->comments ?>)</small></p>
	            	<?php echo H::msubstr($item->summary,0,150) ?>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $this->createUrl("article/view",array('id'=>$item->id))  ?>" target="_blank">查看全文>>></a>

	        </div>	
		</div>
		<hr/>
		<?php } ?>
		<?php  $this->Widget("WebPager",array('pages'=>$data->getPagination())) ?>
	</div>
</div>
<div class="four">
	<?php if($this->beginCache('web-index-article-hot',array('duration'=>3600,'varyByRoute'=>false))) { ?>
		<?php $this->Widget('HotWidget') ?>
	<?php $this->endCache(); } ?>
</div>
